package byx.container.extension.aop.SimpleTest;

import byx.aop.annotation.After;
import byx.aop.annotation.Filter;
import byx.container.annotation.annotation.Register;
import byx.container.extension.aop.annotation.Enhance;

@Register
@Enhance({C.class, D.class})
public class Advice3 {
    @After
    @Filter(name = "foo", returnType = String.class)
    public String afterFoo(String retVal) {
        return retVal + " aaa";
    }

    @After
    @Filter(name = "bar", returnType = String.class)
    public String afterBar(String retVal) {
        return retVal + " bbb";
    }
}
